package com.fsl.springbootdesignpattern.d_proxy.CustomProxy;

/**
 * @author dell
 * 测试纯自己实现的JDK的动态代理
 */
public class Test {

    public static void main(String[] args) throws Exception {
        Person proxy = new HuangNiu(new XiaoMing()).getProxy();
        proxy.buyTicket();
    }
}
